package com.novel.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.novel.base.entity.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 书架表
 *
 * @author 樊温军
 * @date Fri May 09 15:15:23 CST 2025
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "书架表")
public class NfBookshelf extends BaseDTO {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    /**
     * 小说ID
     */
    @ApiModelProperty(value = "小说ID")
    private Long novelId;
    /**
     * 章节ID
     */
    @ApiModelProperty(value = "章节ID")
    private Long chatterId;
}
